<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>查看车辆</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/layui/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="padding: 20px"  id="carForm">
    <div class="layui-form-item">
        <label class="layui-form-label">车牌号:</label>
        <div class="layui-input-block">
            <input type="text" id="carplate" name="carplate" carplate  lay-verify="required" placeholder="请输入车牌号" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">品牌:</label>
        <div class="layui-input-block">
            <input type="text" id="carbrand" name="carbrand" required lay-verify="required" placeholder="请输入品牌" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">类型:</label>
        <div class="layui-input-block">
            <input type="text" id="cartype" name="cartype" required  lay-verify="required" placeholder="请输入车辆类型" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">颜色:</label>
        <div class="layui-input-block">
            <input type="text" id="carcolor" name="carcolor" required  lay-verify="required" placeholder="请输入车辆颜色" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">座位数:</label>
        <div class="layui-input-block">
            <input type="text" id="carseat" name="carseat" required  lay-verify="required" placeholder="请输入车辆座位数" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发动机型号:</label>
        <div class="layui-input-block">
            <input type="text" id="engineno" name="engineno" required  lay-verify="required" placeholder="请输入发动机型号" autocomplete="off" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">L/100km:</label>
        <div class="layui-input-block">
            <input type="text" id="car_consumption" name="car_consumption" required  lay-verify="required" placeholder="请输入百公里耗油量" disabled autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">购买价格:</label>
        <div class="layui-input-block">
            <input type="text" id="price" name="price" required  lay-verify="required" placeholder="请输入购买价格" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">购买时间:</label>
        <div class="layui-input-block">
            <input type="text" id="buy_date" name="buy_date" required  lay-verify="required" placeholder="请输入购买时间" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">保养里程:</label>
        <div class="layui-input-block">
            <input type="text" id="car_servicekm" name="car_servicekm" required  lay-verify="required" placeholder="请输入保养里程" class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所属部门:</label>
        <div class="layui-input-block">
            <input type="text" id="deptid" name="deptid" required  lay-verify="required" placeholder="请输入保养里程" class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">供应商:</label>
        <div class="layui-input-block">
            <input type="text" id="btypeid" name="btypeid" required  lay-verify="required" placeholder="请输入保养里程" class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">驾驶员:</label>
        <div class="layui-input-block">
            <input type="text" id="driverid" name="driverid" required  lay-verify="required" placeholder="请输入保养里程" class="layui-input" disabled>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <img id="img_url" name="img_url" width="150px" height="150px" src="/static/layui/images/wu.png" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">备注:</label>
        <div class="layui-input-block">
            <input type="text" id="remark" name="remark" required  lay-verify="required" placeholder="无" class="layui-input" disabled>
        </div>
    </div>


</form>
<script type="text/javascript" src="<%=request.getContextPath()%>/static/layui/layui/layui.js"></script>
<script>
    layui.use(['form','layer','laydate','table','laytpl','upload'],function(){
        var form = layui.form,
            layer = parent.layer === undefined ? layui.layer : top.layer,
            $ = layui.jquery,
            laydate = layui.laydate,
            laytpl = layui.laytpl,
            table = layui.table,
            upload=layui.upload;

        form.render('select'); //刷新select选择框渲染

    })
</script>
</body>
</html>